package com.example.mybatisdemo.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName t_warn_to_province_kafka
 */
@TableName(value ="t_warn_to_province_kafka")
@Data
public class WarnToProvinceKafka implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String topic;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    private String caseSerialNo;

    /**
     * 
     */
    @JsonFormat
    private LocalDateTime createdTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}